package com.common.domain.dto;

import com.common.constant.vaild.VaildConstant;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import javax.validation.constraints.NotNull;

/**
 * @author
 * @Date 2023/10/26 19:09
 **/
@Data
@AllArgsConstructor
@NoArgsConstructor
public class LoginUserDto {
    @NotNull(message = VaildConstant.MESSAGE_USERNAME_NULL)
    private String userName;
    @NotNull(message = VaildConstant.MESSAGE_PASSWORD_NULL)
    private String password;
    @NotNull(message = VaildConstant.MESSAGE_AUTHCODE_NULL)
    private String authCode;
}
